package com.jia.together.service;

import com.jia.together.entity.Blog;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author dujiajia
 * @since 2021-02-20
 */
public interface BlogService extends IService<Blog> {

    Map<String, Object> selectPageList(String categoryId,Long pageNum, Long pageSize);

    Map<String, Object> queryList(String key, String categoryId, Long pageNum, Long pageSize);

    Blog selectInfoById(String id);

    void clickBlog(String blogId,String memberId);

    void collectBlog(String blogId, String memberId);
}
